﻿#include "FListWidget.h"
#include "../Base/FTheme.h"

FListWidget::FListWidget(QWidget *parent)
    : QListWidget{parent}
{
    QString qss = QString(R"(
FListWidget {
    border: none;
    background: transparent;
}

FListWidget::item {
    color: %1;
}

FListWidget::indicator {
    width: %2px;
    height: %2px;
}
)").arg(FColors::getTextColor(true).name(QColor::HexArgb), QString::number(FTheme::getDefaultSize()));

    setStyleSheet(qss);
}
